*,
::before,
::after {
	padding: 0;
	margin: 0;
	/*去掉chorm浏览器中默认点击的颜色*/
	-webkit-tap-highlight-color: transparent;
	-webkit-box-sizing: border-box;
}

body {
	font-size: 14px;
	font-family: "Microsoft YaHei" sans-serif;
	color: #000;
}

::-webkit-scrollbar {
	/*滚动条整体样式*/
	width: 0px;
	/*高宽分别对应横竖滚动条的尺寸*/
	height: 0px;
}

body::-webkit-scrollbar {
	/*滚动条整体样式*/
	width: 0px;
	/*高宽分别对应横竖滚动条的尺寸*/
	height: 0px;
}

a {
	text-decoration: none;
	color: #000;
}

ul {
	list-style: none;
}

input,
textarea {
	border: none;
	resize: none;
	outline: none;
	/*清除移动设备中表单的默认样式*/
	-webkit-appearance: none;
}

.clearfix::before,
.clearfix::after {
	content: '.';
	height: 0;
	line-height: 0;
	clear: both;
	display: block;
	visibility: hidden;
}

[class^='icon'] {
	background: url("../images/arrow_left_icon.png") no-repeat center center;
	/*background-size: 100% 100%;*/
	/*background-size: 200px 200px;*/
}

.top_bar {
	width: 100%;
	height: 45px;
	background: url("../images/header-bg.png") repeat-x;
	/*background: #f23030;*/
	background-size: 1px 44px;
	border-bottom: 1px solid #bfbfbf;
	position: fixed;
	z-index: 2;
}

.top_bar .icon_back {
	height: 20px;
	width: 20px;
	/*background-position: -20px 0;*/
	display: block;
	margin: 10px 10px;
	position: absolute;
	left: 0;
	top: 0;
}

.top_bar .cartname {
	text-align: center;
	font-size: 16px;
	font-family: sans-serif;
	font-weight: normal;
	line-height: 45px;
	color: #000;
}

.top_bar .goods_search {
	width: 100%;
	height: 44px;
	padding-left: 40px;
	padding-right: 40px;
}

.top_bar .goods_search .goods_search_content {
	width: 100%;
	height: 32px;
	border-radius: 4px;
	border: 1px solid #bfbfbf;
	margin-top: 5px;
	box-sizing: border-box;
	padding: 0 10px;
}

.top_bar .icon_menu {
	height: 44px;
	width: 40px;
	background-position: -60px 0;
	background-clip: content-box;
	background-origin: content-box;
	-moz-background-origin: content-box;
	-webkit-background-origin: content-box;
	display: block;
	padding: 10px 12px;
	position: absolute;
	right: 0;
	top: 0;
}


/*固定底部通栏*/

.fixBottomBox {
	width: 100%;
	padding: 5px 0;
	height: 56px;
	box-shadow: 0 -2px 10px #ccc;
	position: fixed;
	bottom: 0;
	left: 0;
	background-color: #fff;
}

.fixBottomBox ul {
	display: flex;
	justify-content: space-around;
}

.fixBottomBox .tabItem {
	width: 18%;
	height: 100%;
	text-align: center;
}

.tabItem .tab-item-link {
	display: inline-flex;
	width: 70px;
	height: 50px;
}

.tabItem .tab-item-link .tab-item-icon {
	display: inline-flex;
	width: 100%;
	height: auto;
}


/*公共样式*/

.fl {
	float: left;
}

.fr,
.rg {
	float: right;
}

.float_right {
	float: right;
}

.font_size12 {
	font-size: 12px;
}

.font_size14 {
	font-size: 14px;
}

.font_size16 {
	font-size: 16px;
}

.font_size18 {
	font-size: 18px;
}

.font_size28 {
	font-size: 28px;
}

.color000 {
	color: #000;
}

.color333 {
	color: #333;
}

.color666 {
	color: #666;
}

.colorfff {
	color: #fff;
}

.color999 {
	color: #999!important;
}

.color_main_red {
	color: #f23030;
}

.background_ea {
	background-color: #eaeaea!important;
}

.background_f0 {
	background-color: #F0F2F5!important;
}

.background_main {
	background-color: #f23030!important;
}

.overflow_hidden {
	overflow: hidden;
}

.padding_bottom10 {
	padding-bottom: 10px;
}

.padding_bottom80 {
	padding-bottom: 80px;
}

.border_top_999 {
	border-top: 1px solid #999;
}

.border_bot_999 {
	border-bottom: 1px solid #999;
}

.border_bot_bf {
	border-bottom: 1px solid #bfbfbf;
}

.border_bot_dcdcdc {
	border-bottom: 1px solid #dcdcdc;
}

.padding-top10 {
	padding-top: 10px;
}

.padding_top10_bot10 {
	padding-top: 10px;
	padding-bottom: 10px;
}

.width90 {
	width: 90%;
}

.width80 {
	width: 80%;
}

.width60 {
	width: 60px;
}

.width10 {
	width: 10%;
}

.width20 {
	width: 20%;
}

.width25 {
	width: 25%;
}

.width33 {
	width: 32.9%;
}

.text_align_rg {
	text-align: right;
}

.text_align_ct {
	text-align: center;
}

.width100 {
	width: 100%;
}

.box_shadow_top {
	box-shadow: 0 -10px 10px #000;
}

.height60 {
	height: 60px;
}

.height80 {
	height: 80px;
}

.height100 {
	height: 100%;
}

.height120 {
	height: 120px;
}

.background_fff {
	background: #fff;
}

.pad10 {
	padding: 10px;
}

.padding_lf6_rg6 {
	padding-left: 6px;
	padding-right: 6px;
}

.padding_lf10_rg10 {
	padding-left: 10px;
	padding-right: 10px;
}

.clear_both {
	clear: both;
}

.product_color_type {
	border: 1px solid #999;
	border-radius: 4px;
	padding: 0px 6px;
	margin: 0 6px;
	line-height: 20px;
	display: inline-block;
}

.padding_top6_bot6 {
	padding-top: 6px;
	padding-bottom: 6px;
}

.padding_top15_bot15 {
	padding-top: 15px;
	padding-bottom: 15px;
}

.btn_bot {
	width: 100%;
	background: #f23030;
	color: #fff;
	font-size: 18px;
	text-align: center;
	line-height: 46px;
	border-radius: 5px;
	position: absolute;
	bottom: 0;
	left: 0;
}

.padding_top45 {
	padding-top: 45px;
}

.padding_right10 {
	padding-right: 10px!important;
}

.padding_bottom60 {
	padding-bottom: 60px;
}

.margin_right10 {
	margin-right: 10px!important;
}

.margin_right20 {
	margin-right: 20px!important;
}

.margin_bot10 {
	margin-bottom: 10px;
}

.margin_top10 {
	margin-top: 10px;
}

.margin_lf10_rg10 {
	margin-left: 10px;
	margin-right: 10px;
}

.line_height40 {
	line-height: 40px;
}

.line_height60 {
	line-height: 60px;
}

.line_height1_5 {
	line-height: 1.5em;
}

.line_height2 {
	line-height: 2em;
}

.vertical_align_mid {
	vertical-align: middle;
}

.vertical_align_tb {
	vertical-align: text-bottom;
}

.bottom66 {
	bottom: 66px!important;
}

.reduce_nums,
.add_nums {
	width: 28px;
	float: left;
	text-align: center;
	line-height: 28px;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}

.reduce_nums {
	border-left: 1px solid #999;
	border-radius: 8px 0 0 8px;
}

.add_nums {
	border-right: 1px solid #999;
	border-radius: 0px 8px 8px 0px;
}

.num_input {
	width: 50px;
	float: left;
	line-height: 28px;
	border: 1px solid #999;
	text-align: center;
}

.goods_type_wrap .selected {
	color: red;
	border-color: red;
}

.tab_header span {
	display: inline-block;
	width: 24.9%;
	text-align: center;
}

.tab_header span.selected {
	color: #f15353;
	border-bottom: 1px solid #f15353;
}

.position_rel {
	position: relative;
}

.font_weight_bold {
	font-weight: bold;
}

.default_adr_btn {
	padding: 0 5px;
	border: 1px solid red;
	color: red;
	border-radius: 4px;
	margin-left: 15px;
	line-height: 1.2em;
	font-size: 12px;
}

.checkbox {
	position: relative;
	display: inline-block;
	height: 50px;
	top: 15px;
	float: right;
}

.checkbox input {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	opacity: 0;
	cursor: pointer;
}

.checkbox label {
	width: 90px;
	height: 42px;
	background: #ccc;
	position: relative;
	display: inline-block;
	border-radius: 46px;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

.checkbox label:after {
	content: '';
	position: absolute;
	width: 50px;
	height: 50px;
	border-radius: 100%;
	left: 0;
	top: -5px;
	z-index: 2;
	background: #fff;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

.checkbox input:checked+label {
	background: #703320;
}

.checkbox input:hover+label:after {
	box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.2), 0 3px 8px 0 rgba(0, 0, 0, 0.15);
}

.checkbox input:checked+label:after {
	left: 40px;
}

.checkbox input:checked+label:after {
	background: #4285F4;
}

.mint-switch-input:checked+.mint-switch-core {
	border-color: red;
	background-color: red;
}

.yd-actionsheet-item {
	height: 3rem!important;
	line-height: 3rem!important;
	font-size: 1.08rem!important;
}

.yd-actionsheet-action {
	height: 3rem!important;
	line-height: 3rem!important;
	font-size: 1.08rem!important;
}

.two_line_text {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}